﻿using System.Collections.Generic;
using Coleotrack.Data;

namespace Coleotrack.Areas.Admin.Models
{
    public class UserViewModel
    {
        public User User { get; set; }

        public string Password { get; set; }

        public string PasswordConfirmation { get; set; }

        public IEnumerable<Role> Roles
        {
            get; private set;
        }

        public UserViewModel(IEnumerable<Role> roles)
        {
            Roles = roles;
            User = new User();
        }
    }
}